package com.sy.bean.message.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class GoodsExcel {

    @ExcelProperty("序号")
    Integer id;

    @ExcelProperty("商品编码")
    String code;

    @ExcelProperty("商品名称")
    String name;

    @ExcelProperty("商品分类")
    String categoryName;

    @ExcelProperty("商品规格")
    String spec;

    @ExcelProperty("库存单位")
    String unit;

    @ExcelProperty("商品进价（元）")
    Double enterPrice;

    @ExcelProperty("商品售价（元）")
    Double price;

    @ExcelProperty("状态")
    Integer status;

    @ExcelProperty("创建时间")
    String createTime;
}
